package com.mt.roll.wms.vo;

import com.mt.roll.core.vo.CommonVo;
import com.mt.roll.core.vo.PageVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @auther yanyang
 * @date 2022/3/7 16:37
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@ApiModel(value = "数据字典", description = "用于查询数据字典信息")
public class SysDictDataVo extends CommonVo implements PageVo.ConvertVo{
    /**
     * 主键，自增
     */
    @ApiModelProperty(value = "主键", required = true, example = "1")
    private Long id;


    /**
     * 字典类型ID
     */
    @ApiModelProperty(value = "dict_type_id",example = "1")
    private Long dictTypeId;

    /**
     * 数据字典类型编号
     */
    @ApiModelProperty(value = "type_code",example = "PortAttr")
    private String typeCode;

    /**
     * 数据字典类型名称
     */
    @ApiModelProperty(value = "type_name",example = "库位属性")
    private String typeName;

    /**
     * 数据字典编号
     */
    @ApiModelProperty(value = "data_code",example = "bufferPort")
    private String dataCode;

    /**
     * 数据字典名称
     */
    @ApiModelProperty(value = "data_name",example = "Buffer Port")
    private String dataName;
}
